package project.background.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import fld.background.system.dto.annotation.Des;
import fld.background.system.entity.AUTOIDModel;
import lombok.Getter;
import lombok.Setter;

@Des("客户留言")
@Setter
@Getter
@Entity
@Table(name = "t_company_leavingmsg")
public class LeavingMessage extends AUTOIDModel {
	private static final long serialVersionUID = 1L;

	@Des("所属企业ID")
	@Column(name = "companyId",nullable=false)
	private Long companyId;
	
	@Des("姓名")
	@Column(name = "name",length = 200,nullable=false)
	private String name;

	@Des("手机号")
	@Column(name = "phone",length = 200,nullable=false)
	private String phone;

	@Des("微信/QQ号")
	@Column(name = "wechatNum",length = 200)
	private String wechatNum;

	@Des("内容")
	@Column(name = "content",length = 2000,nullable=false)
	private String content;
	
	@Des("是否回复，1：是 2：否 默认为2")
	@Column(name = "sfhf",length = 100,nullable=false)
	private String sfhf;
}